Group theoretic proof of Euler's theorem